package objectsDiagram;

import java.util.LinkedList;

public class Fluent {
	private String id;
	private LinkedList<Object[]> listOn;
	private LinkedList<Object[]> listOff;
	private LinkedList<String> listDiagramsNames;
	
	public Fluent() {
		listOn = new LinkedList<Object[]>();
		listOff = new LinkedList<Object[]>();
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public void addOn(Object[] task) {
		listOn.add(task);
	}

	public Object[] getOn(int index) {
		return this.listOn.get(index);
	}

	public void addOff(Object[] task) {
		listOff.add(task);
	}

	public Object[] getOff(int index) {
		return listOff.get(index);
	}
	
	public LinkedList<Object[]> getListOn(){
		return listOn;
	}
	
	public LinkedList<Object[]> getListOff(){
		return listOff;
	}
	
	public void addDiagramNames(String diagram) {
		listDiagramsNames.add(diagram);
	}
	
	public LinkedList<String> getListDiagramsNames(){
		return listDiagramsNames;
	}
	
}